package cn.yunhe.entity;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by 47496 on 2018/5/31.
 */
public class WebPaper implements Serializable {
    //学生id
    private int sid;
    //试卷id
    private int pid;
    //试题集合
    private Map<String, List<StudentProblem>> problems;

    public WebPaper() {
    }

    public WebPaper(int sid, int pid, Map<String, List<StudentProblem>> problems) {
        this.sid = sid;
        this.pid = pid;
        this.problems = problems;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public Map<String, List<StudentProblem>> getProblems() {
        return problems;
    }

    public void setProblems(Map<String, List<StudentProblem>> problems) {
        this.problems = problems;
    }

    @Override
    public String toString() {
        return "WebPaper{" +
                "sid=" + sid +
                ", pid=" + pid +
                ", problems=" + problems +
                '}';
    }
}
